package com.spring.sunflower.conversation

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.spring.sunflower.R
import com.spring.sunflower.bean.TalkRepositoryBean

/**
 * Created by Kevin on 2021/7/31<br/>
 *
 * Describe:<br/>
 */
class TopicContentAdapter(
    layoutResId: Int,
    data: MutableList<TalkRepositoryBean.DatasBean.ContentArrayBean>
) : BaseQuickAdapter<TalkRepositoryBean.DatasBean.ContentArrayBean, BaseViewHolder>(
    layoutResId,
    data
) {
    override fun convert(
        holder: BaseViewHolder,
        item: TalkRepositoryBean.DatasBean.ContentArrayBean
    ) {
        holder.setText(R.id.tvContent,item.content)
    }
}